<?php
require_once 'global.php';

if ($_SERVER['PATH_INFO']) {
    $data = explode("/", $_SERVER['PATH_INFO']);
    $_REQUEST['id'] = (int)$data[1];
    $_REQUEST['ok'] = $data[2];
}

$views = 'shopcar/pay.html';
if ($data[2] == 'gift') $views = 'shopcar/pay_gc.html';

//$views = 'shopcar/payresult.html';

$Controller =& getController('indent');
$View = $Controller->getView('pay');
$View->display($views);
?>
